package com.elong.businesstravel.protocol.login;

import org.apache.http.Header;
import org.json.JSONObject;

import com.elong.businesstravel.protocol.baseresponse.BaseELongJsonHttpResponse;

public class MemberValidateEmailResponse extends BaseELongJsonHttpResponse {

	protected String messageString;
	protected String status;
	
	@Override
	public void onSuccess(int statusCode, Header[] headers,
			JSONObject mainJsonObject) throws Throwable {
		JSONObject responseJsonObject = mainJsonObject
				.optJSONObject("response");
		if (null != responseJsonObject) {
			messageString = responseJsonObject.optString("msg", "");
			status = responseJsonObject.optString("status", "");
		}
	}

}
